package com.heavenbird.book.dao.interfaces;

import com.heavenbird.book.entity.UserCategoryDef;

public interface IUserCategoryDefDAO {
	public void newUserCategoryDef(UserCategoryDef userCategoryDef) throws Exception;
	public UserCategoryDef[] getCanModifyCategory(long userId, long parentId, int sts) throws Exception;
	public UserCategoryDef[] getCategory(long userId, long parentId, int sts) throws Exception;
	public UserCategoryDef getCategoryInfo(long categoryId, int sts) throws Exception;
	public UserCategoryDef[] getCategoryByType(long userId, int categoryType, int sts) throws Exception;
	public void updateCategoryInfo(UserCategoryDef userCategoryDef) throws Exception;
	public UserCategoryDef[] getCategory(long parentId, int sts) throws Exception;
	public UserCategoryDef[] getCategory(long userId, long parentId, int categoryType, int sts) throws Exception;
	public UserCategoryDef[] getCategory(long parentId, int categoryType, int sts) throws Exception;
	public UserCategoryDef[] getCategoryList(long userId, int sts) throws Exception;
}
